package commons;

import java.io.File;

/**
 * All the paths needed
 * @author Romain Pellerin
 */
public final class Paths {

	/**
	 * Root directory where are stored the passwords (ends with '/' or '\' on Windows)
	 */
	public final static String AIRPI_ROOT				= System.getProperty("user.home")+ File.separator+"airpi"+File.separator;
	
	/**
	 * Directory that will contain uploaded files by clients (ends with '/' or '\' on Windows)
	 */
	public final static String AIRPI_UPLOADED_FILES		= AIRPI_ROOT+"uploaded_files"+File.separator;
	
	/**
	 * Directory for the fifo, generally the temp directory (ends with '/' or '\' on Windows)
	 */
	public final static String OMXPLAYER_FIFO			= System.getProperty("java.io.tmpdir")+File.separator;
	
	/**
	 * Filename where are stored the admin and guest passwords (something like "passwords.airpi")
	 */
	public final static String PASSWORDS_FILE			= "passwords.airpi"; // admin on the first line and guest on the second one
	
	/**
	 * Static class
	 */
	private Paths() {}
}
